package com.go.where.manager.dao;

import java.util.List;
import java.util.Map;

import com.go.where.manager.pojo.GroupInfo;

public interface GroupDao extends BaseDao<GroupInfo> {

	/**
	 * 通过客户编号查询团购订单号
	 * 
	 * @param customerId
	 * @return
	 */
	public List<String> queryByCustomerId(String customerId);

	/**
	 * 条件查询
	 * 
	 * @param map
	 * @return
	 */
	public List<GroupInfo> queryByParameters(Map<String, Object> map);

	public GroupInfo queryByGroupId(GroupInfo groupInfo);

	public List<GroupInfo> queryByActivityId(GroupInfo groupInfo);

	public List<String> queryCustomerIds(GroupInfo groupInfo);

	public Integer queryGroupTotalPerson(Map<String, Object> map);
}
